]> dgit.raspbian.org Git - gnome-shell.git/commit
keyboard: Do not call KeyboardManager.holdKeyboard() with set-content-type
authorTakao Fujiwara <tfujiwar@redhat.com>
Fri, 31 Aug 2018 11:22:23 +0000 (20:22 +0900)
committerCarlos Garnacho <mrgarnacho@gmail.com>
Fri, 9 Nov 2018 10:55:30 +0000 (10:55 +0000)
commit551e827841626cd8084daa2210b3bf60e5be96be
tree4fc85ef7591480558da095f334e0b2dd306c6ddc
parent4dc2039859fc05d8cab43478e2c66bc51b530802
keyboard: Do not call KeyboardManager.holdKeyboard() with set-content-type

When gnome-shell receives the signal of 'set-content-type' from ibus,
gnome-shell calls KeyboardManager.holdKeyboard() and
KeyboardManager.releaseKeyboard() and the functions change the current
input focus in GNOME Xorg and it could result in closing a popup window
which has a password entry by focusing on the entry.
The solution is to stop to call the APIs on 'set-content-type' signal.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/391
js/ui/status/keyboard.js